package com.oj.system.domain.question.dto;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Description
 * @Author bin
 * @Date 2025/4/29
 */
@Data
public class QuestionSaveTO {

    @NotNull
    private String title;

    @Min(1)
    @Max(3)
    private Integer difficulty;


    private Long timeLimit;


    private Long spaceLimit;


    private String content;


    private String questionCase;


    private String defaultCode;


    private String mainFunc;
}
